package com;

public class Demo2 {

    public static void main(String[] args) throws InterruptedException {
        System.out.println("1...........");
        Thread.sleep(30000);
        byte[] bys=new byte[1024*1024*101] ; //10mb
        System.out.println("2............");
        Thread.sleep(10000);
        bys=null;
        System.gc();
        System.out.println("3.............");
        Thread.sleep(1000000);
    }

}
